package com.apex.restful.entity;

import javax.persistence.*;
import java.io.Serializable;

/**
 * Created by 18424 on 2017/6/29.
 */
@Entity
@Table(name = "T_BSDT_DICTIONARY_PARENT")
public class TBsdtDictionaryParent implements Serializable{
    private Long id;
    private String name;
    private String code;
    private Long orderNum;
    private Long state;

    @Id
    @Column(name = "ID")
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Basic
    @Column(name = "NAME")
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Basic
    @Column(name = "CODE")
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    @Basic
    @Column(name = "ORDER_NUM")
    public Long getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Long orderNum) {
        this.orderNum = orderNum;
    }

    @Basic
    @Column(name = "STATE")
    public Long getState() {
        return state;
    }

    public void setState(Long state) {
        this.state = state;
    }



}
